<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>TinyBrowser :: {$tb_upload}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	{if $passfeid eq '' and $tinybrowser.integration eq 'tinymce'}
		<link rel="stylesheet" type="text/css" media="all" href="{$tinybrowser.tinymcecss}" />
	{else}
		<link rel="stylesheet" type="text/css" media="all" href="{$default_admin_theme_url}/modules/filebrowser/css/stylefull_tinybrowser.css" />
	{/if}
	<link rel="stylesheet" type="text/css" media="all" href="{url}/filebrowser/admin/css/{/url}" />
</head>
<body>
	{include file=file:$admin_theme_path/modules/filebrowser/_alert.tpl}
	<div class="tabs">
		<ul>
			<li id="browse_tab"><span><a href="{url}/filebrowser/admin/tinybrowser/?type={$typenow}{$passfeid}{/url}">{$tb_browse}</a></span></li>
			<li id="upload_tab" class="current"><span><a href="{url}/filebrowser/admin/upload/?type={$typenow}{$passfeid}{/url}">{$tb_upload}</a></span></li>
			{if $tinybrowser.allowedit || $tinybrowser.allowdelete}
				<li id="edit_tab"><span><a href="{url}/filebrowser/admin/edit/?type={$typenow}{$passfeid}{/url}">{$tb_edit}</a></span></li>
			{/if}
		</ul>
	</div>
	<div class="panel_wrapper">
		<div id="general_panel" class="panel currentmod">
			<fieldset>
				<legend>{$tb_uploadafile}</legend>
				<form action="{url}/filebrowser/admin/uploadprocess/?type={$typenow}{$passfeid}{/url}" method="post" enctype="multipart/form-data">
					<p>
						<input type="file" name="filedata" id="filedata" />
					</p>
					<p>
						<input type="submit" value="{t}Submit{/t}" />
					</p>
				</form>
			</fieldset>
		</div>
	</div>
</body>
</html>
